<#assign contextPath=springMacroRequestContext.getContextPath() />
<#import "/public/frame/main.html" as frame />
<@frame.head "南航明珠商城-畅销商品管理">
</@frame.head>
<link type="text/css"  rel="stylesheet" href="${contextPath}/resources/lib/lightbox2/2.8.1/css/lightbox.css">
<div class="page-container" style="overflow:auto;height: 420px;">
	<form action="/productComment/examine" 
		method="post" id="productformlist" 
		name="productformlist">
		
		<table  width="100%" border="0" cellspacing="1">
		<input type="hidden" value="${productComment.id}" name="QuestionId" id="QuestionId" />
			<tr style="width: 100%">
				<td >
					订单编号：${productComment.orderNo}
				</td>
				<td >
					会员卡号：${productComment.memberNo}
				</td>
			</tr>
			<tr style="width: 500px">
				<td >
					商品编号：${productComment.product.id}
				</td>
				<td >
					会员姓名：${productComment.askName}
				</td>
			</tr>
			<tr style="width: 500px">
				<td >
					商品名称：${productComment.product.baseInfo.name}
				</td>
				<td >
					会员等级：
					${memberType["${member.mlevel}"]}
				</td>
			</tr>
			<tr style="width: 500px">
				<td >
					商品类型：
					<#if productComment.product.proType==1>实物商品
					<#elseif productComment.product.proType=2>虚拟商品
					<#elseif productComment.product.proType=3>机票优惠券
					<#elseif productComment.product.proType=4>其他
					<#elseif productComment.product.proType=5>公益商品
					</#if>
					
					
				</td>
				<td >
					
				</td>
			</tr>
			<tr style="width: 500px">
				<td >
					评价时间：${(productComment.askDate?string("yyyy-MM-dd HH:mm:ss"))!}
				</td>
				<td >
					
				</td>
			</tr>
			<tr style="width: 500px">
				<td >
					商品评分：${productComment.score}
				</td>
				<td >
					
				</td>
			</tr>
			<tr style="width: 500px">
				<td colspan="2" style="word-break:break-all;">
					有话要说：${productComment.content}${productComment.isPic}
				</td>
				<td >
					
				</td>
			</tr>
			<#if productComment.isPic>
			<#if productCommentImageList?? && (productCommentImageList?size &gt; 0) >
			<tr>
        	<#list productCommentImageList as productCommentImage> 
	        
	        <td style="float: left;"><div id="show_${productCommentImage_index}"    style="width:90px;height:90px;"> 
	        	<a id="a${productCommentImage_index}" href="${webSite}/admin/images/no_img.jpg" data-lightbox="gallery"> 
	           <img  id="image${productCommentImage_index}" src="${webSite}/admin/images/no_img.jpg"    width="90" height="90" />
	           </a>
	            </div>
	        </td>
	        
	        
	        </#list>
	        </tr>
	        </#if>
	        </#if>
			<#if productComment.examineStatus==2>
                 <tr>
                 	<td>审核结果：通过</td>
                 </tr>
                 <tr>
                 	<td>审核时间：${(productComment.examineDate?string("yyyy-MM-dd HH:mm:ss"))!}</td>
                 </tr>
                 <tr>
                 	<td>审核人：${productComment.examineUserName}</td>
                 </tr>
            </#if>

			</table>
		</form>
</div>
<script type="text/javascript" src="${contextPath}/resources/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="${contextPath}/resources/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="${contextPath}/resources/js/laypage/laypage.js"></script>
<script src="${contextPath}/resources/lib/lightbox2/2.8.1/js/lightbox-plus-jquery.min.js"></script>
<script type="text/javascript">
var path="${contextPath}";

function init(){

    <#list productCommentImageList as pic> 
    var  picPath= "${commentImagePath}/shop/comment/${pic.commentId}/${pic.image}";
    document.getElementById("a"+${pic_index}).href=picPath;
    document.getElementById("image"+${pic_index}).src=picPath;
    </#list>
}

init();
</script>
	</body>


